package com.somnus.androidkotlindemo.bean;

import android.databinding.ObservableField;
import android.databinding.ObservableFloat;

/**
 * Author : Somnus
 * Time   : 2018/6/19 16:14
 * Description:User
 *
 *  * ****** 继承 Observable 局限性高，所以选择使用ObservableField,可以理解为对BaseObservable的注解和刷新等操作进行了封装。
 */
public class User{


    public ObservableField<String> userName = new ObservableField<>();
    public ObservableField<String> userNickName = new ObservableField<>();
    public ObservableFloat userPrice = new ObservableFloat();


}